From 83371c34bc5a2eed015a5d034cd82ec243659d85 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 25 Nov 2009 14:04:46 +0000 Subject: [PATCH] hvmloader: Advertise ECC memory in SMBIOS tables. Microsoft's Windows logo certified hardware requires ECC; since the SVVP certification runs the same test on the guest, Xen domains will currently fail it. From: Paolo Bonzini Signed-off-by: Keir Fraser --- tools/firmware/hvmloader/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware/hvmloader/smbios.c b/tools/firmware/hvmloader/smbios.c index a5237cc81e..bd9e3f77bc 100644 --- a/tools/firmware/hvmloader/smbios.c +++ b/tools/firmware/hvmloader/smbios.c @@ -455,7 +455,7 @@ smbios_type_16_init(void *start, uint32_t memsize, int nr_mem_devs) p->location = 0x01; /* other */ p->use = 0x03; /* system memory */ - p->error_correction = 0x01; /* other */ + p->error_correction = 0x06; /* Multi-bit ECC to make Microsoft happy */ p->maximum_capacity = memsize * 1024; p->memory_error_information_handle = 0xfffe; /* none provided */ p->number_of_memory_devices = nr_mem_devs; -- 2.30.2